/**
 * 
 */
package com.workable.assignment.domain.themoviedb;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.workable.assignment.utilities.StringUtil;

/**
 * @author npapadopoulos
 * 
 */
public class TMDBMovieSearchResult extends TMDBStatus implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = -559841983064839720L;

    private Map<String, String> dates;

    private int page;

    private List<TMDBMovie> results;

    @JsonProperty(value = "total_pages")
    private int totalPages;

    @JsonProperty(value = "total_results")
    private int totalResults;

    public Map<String, String> getDates() {
        return dates;
    }

    public void setDates(Map<String, String> dates) {
        this.dates = dates;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public List<TMDBMovie> getResults() {
        return results;
    }

    public void setResults(List<TMDBMovie> results) {
        this.results = results;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public int getTotalResults() {
        return totalResults;
    }

    public void setTotalResults(int totalResults) {
        this.totalResults = totalResults;
    }

    @Override
    public String toString() {
        return StringUtil.toString(this);
    }
}